package com.tenglong.teacher.data.resultInfo;

public class DateInfo {
    public static final int CURRENT_DAY = 0;
    public static final int CURRENT_WEEK = 1;
    public static final int CURRENT_MONTH = 2;
    public String date;
    public int stype;
    public boolean isSele = false;

    public DateInfo(int stype) {
        this.stype = stype;
        switch (stype) {
            case CURRENT_DAY:
                date = "今天";
                break;
            case CURRENT_WEEK:
                date = "当周";
                break;
            default:
                date = "本月";
        }
    }

    public DateInfo setSele(boolean sele) {
        isSele = sele;
        return this;
    }
}
